<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{admin/common/common}">
<head>
    <title>下发列表</title>
</head>

<body layout:fragment="content">
<form id="myForm" th:action="@{/hairDown/list}" th:method="get">
    <div class="page-container">
        <div class="text-c">
            <input type="text" class="input-text" style="width:150px" placeholder="内容" name="keyword" th:value="${keyword}"/>
            <button type="submit" class="btn btn-success">
                <i class="Hui-iconfont">&#xe665;</i>
                搜索
            </button>
        </div>
        <table class="table table-border table-bordered table-bg table-hover">
            <thead>
            <tr>
                <th scope="col" colspan="7">下发列表</th>
            </tr>
            <tr class="text-c">
                <th>调用接口</th>
                <th>消息ID</th>
                <th>接收数据</th>
                <th>接收时间</th>
                <th>回复数据</th>
                <th>回复时间</th>
            </tr>
            </thead>
            <tbody>
            <tr class="text-c" th:each="model:${pageInfo?.result}" th:object="${model}">
                <td th:text="*{interfaceName}">d</td>
                <td th:text="*{messageId}">d</td>
                <td th:text="*{receptionData}">d</td>
                <td th:text="*{#dates.format(receptionTime, 'yyyy-MM-dd HH:mm')}">2014-6-11 11:11:42</td>
                <td th:text="*{handlerData}">d</td>
                <td th:text="*{#dates.format(reportTime, 'yyyy-MM-dd HH:mm')}">2014-6-11 11:11:42</td>
            </tr>
            </tbody>
        </table>
        <div th:replace="admin/common/page :: page"></div>
    </div>
</form>

<script type="text/javascript" th:src="@{/js/common/page.js}"></script>
</body>
</html>